package com.yunji.order.wechat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.order.payable
 * @Title: WechatRefund
 * @Description: 微信退款信息
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-04-14 15:00:29      V1.0        HuaAo       新建类
 */
@Data
public class WechatRefund implements Serializable {
    private static final long serialVersionUID = 6051403988386972093L;

    @ApiModelProperty(name = "微信退款流水号")
    private String refundId;
    @ApiModelProperty(name = "微信支付流水号")
    private String tradeId;
    @ApiModelProperty(name = "退款流水号")
    private String refundCode;
    @ApiModelProperty(name = "交易流水号")
    private String tradeCode;
    @ApiModelProperty(name = "渠道")
    private String channel;
    @ApiModelProperty(name = "顾客账户")
    private String userAccount;
    @ApiModelProperty(name = "状态")
    private String status;
    @ApiModelProperty(name = "折扣退款")
    private Long discountRefund;
    @ApiModelProperty(name = "合计")
    private Long total;
    @ApiModelProperty(name = "退款")
    private Long refund;
    @ApiModelProperty(name = "付款人合计")
    private Long payerTotal;
    @ApiModelProperty(name = "付款人退款")
    private Long payerRefund;
    @ApiModelProperty(name = "结算合计")
    private Long settleTotal;
    @ApiModelProperty(name = "结算退款")
    private Long settleRefund;
    private boolean success;
}
